<template>
  <div style="display: inline-block">
    <el-button @click="changeTimeType(1)">今天10点前</el-button>
    <el-button class="mgr10" type="danger" @click="changeTimeType(2)">今天10点后</el-button>
    <el-date-picker
      class="mgb10"
      v-model="times"
      type="datetimerange"
      range-separator="至"
      start-placeholder="订单开始日期"
      end-placeholder="订单结束日期"
      value-format="yyyy-MM-dd HH:mm:ss"
      @change="changeOption"
    >
    </el-date-picker>
  </div>
</template>

<script>
export default {
  name: "OrderTimesPicker",
  data(){
    return {
      times: [],
      timeType: '',
    }
  },
  methods: {
    changeOption(){

    },
    changeTimeType(timeType){

    }
  }
}
</script>

<style scoped>

</style>
